package com.heima.comment.pojo;


import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.lang.annotation.Documented;
import java.util.Date;

@Data
@Document(collection = "comment")
public class Comment {

    private String commentId;
    private Long articleId;
    private Integer authorId;
    private String authorName;
    private Integer channel_id;
    private Integer type;
    private String content;
    private Integer likes;
    private String image;
    private String reply;
    private Long createdTime;
    private Date updatedTime;
    private Integer operation;
    private Long minData;
    private Long entryId;

}